@echo off
%1 mshta vbscript:CreateObject("WScript.Shell").Run("%~s0 ::",0,FALSE)(window.close)&&exit

set str1=%~dp0
set str2=jdk
set result=%str1%%str2%

set JAVA_HOME=%result%
set Path=%JAVA_HOME%\bin

java -jar ip_edit.jar


exit